Integrand size = 13, antiderivative size = 267 \[ \int \frac {x^6}{a+b x^8} \, dx=\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{4 \sqrt [8]{-a} b^{7/8}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{4 \sqrt {2} \sqrt [8]{-a} b^{7/8}}+\frac {\arctan \left (1+\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{4 \sqrt {2} \sqrt [8]{-a} b^{7/8}}-\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{4 \sqrt [8]{-a} b^{7/8}}+\frac {\log \left (\sqrt [4]{-a}-\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b} x+\sqrt [4]{b} x^2\right )}{8 \sqrt {2} \sqrt [8]{-a} b^{7/8}}-\frac {\log \left (\sqrt [4]{-a}+\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b} x+\sqrt [4]{b} x^2\right )}{8 \sqrt {2} \sqrt [8]{-a} b^{7/8}} \]
1/4*arctan(b^(1/8)*x/(-a)^(1/8))/(-a)^(1/8)/b^(7/8)-1/4*arctanh(b^(1/8)*x/ (-a)^(1/8))/(-a)^(1/8)/b^(7/8)+1/8*arctan(-1+b^(1/8)*x*2^(1/2)/(-a)^(1/8)) /(-a)^(1/8)/b^(7/8)*2^(1/2)+1/8*arctan(1+b^(1/8)*x*2^(1/2)/(-a)^(1/8))/(-a )^(1/8)/b^(7/8)*2^(1/2)+1/16*ln((-a)^(1/4)+b^(1/4)*x^2-(-a)^(1/8)*b^(1/8)* x*2^(1/2))/(-a)^(1/8)/b^(7/8)*2^(1/2)-1/16*ln((-a)^(1/4)+b^(1/4)*x^2+(-a)^ (1/8)*b^(1/8)*x*2^(1/2))/(-a)^(1/8)/b^(7/8)*2^(1/2)
Time = 0.07 (sec) , antiderivative size = 324, normalized size of antiderivative = 1.21 \[ \int \frac {x^6}{a+b x^8} \, dx=\frac {2 \arctan \left (\frac {\sqrt [8]{b} x \sec \left (\frac {\pi }{8}\right )}{\sqrt [8]{a}}-\tan \left (\frac {\pi }{8}\right )\right ) \cos \left (\frac {\pi }{8}\right )+2 \arctan \left (\frac {\sqrt [8]{b} x \sec \left (\frac {\pi }{8}\right )}{\sqrt [8]{a}}+\tan \left (\frac {\pi }{8}\right )\right ) \cos \left (\frac {\pi }{8}\right )+\cos \left (\frac {\pi }{8}\right ) \log \left (\sqrt [4]{a}+\sqrt [4]{b} x^2-2 \sqrt [8]{a} \sqrt [8]{b} x \cos \left (\frac {\pi }{8}\right )\right )-\cos \left (\frac {\pi }{8}\right ) \log \left (\sqrt [4]{a}+\sqrt [4]{b} x^2+2 \sqrt [8]{a} \sqrt [8]{b} x \cos \left (\frac {\pi }{8}\right )\right )-2 \arctan \left (\cot \left (\frac {\pi }{8}\right )-\frac {\sqrt [8]{b} x \csc \left (\frac {\pi }{8}\right )}{\sqrt [8]{a}}\right ) \sin \left (\frac {\pi }{8}\right )+2 \arctan \left (\cot \left (\frac {\pi }{8}\right )+\frac {\sqrt [8]{b} x \csc \left (\frac {\pi }{8}\right )}{\sqrt [8]{a}}\right ) \sin \left (\frac {\pi }{8}\right )+\log \left (\sqrt [4]{a}+\sqrt [4]{b} x^2-2 \sqrt [8]{a} \sqrt [8]{b} x \sin \left (\frac {\pi }{8}\right )\right ) \sin \left (\frac {\pi }{8}\right )-\log \left (\sqrt [4]{a}+\sqrt [4]{b} x^2+2 \sqrt [8]{a} \sqrt [8]{b} x \sin \left (\frac {\pi }{8}\right )\right ) \sin \left (\frac {\pi }{8}\right )}{8 \sqrt [8]{a} b^{7/8}} \]
(2*ArcTan[(b^(1/8)*x*Sec[Pi/8])/a^(1/8) - Tan[Pi/8]]*Cos[Pi/8] + 2*ArcTan[ (b^(1/8)*x*Sec[Pi/8])/a^(1/8) + Tan[Pi/8]]*Cos[Pi/8] + Cos[Pi/8]*Log[a^(1/ 4) + b^(1/4)*x^2 - 2*a^(1/8)*b^(1/8)*x*Cos[Pi/8]] - Cos[Pi/8]*Log[a^(1/4) + b^(1/4)*x^2 + 2*a^(1/8)*b^(1/8)*x*Cos[Pi/8]] - 2*ArcTan[Cot[Pi/8] - (b^( 1/8)*x*Csc[Pi/8])/a^(1/8)]*Sin[Pi/8] + 2*ArcTan[Cot[Pi/8] + (b^(1/8)*x*Csc [Pi/8])/a^(1/8)]*Sin[Pi/8] + Log[a^(1/4) + b^(1/4)*x^2 - 2*a^(1/8)*b^(1/8) *x*Sin[Pi/8]]*Sin[Pi/8] - Log[a^(1/4) + b^(1/4)*x^2 + 2*a^(1/8)*b^(1/8)*x* Sin[Pi/8]]*Sin[Pi/8])/(8*a^(1/8)*b^(7/8))
Time = 0.52 (sec) , antiderivative size = 302, normalized size of antiderivative = 1.13, number of steps used = 13, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.923, Rules used = {830, 826, 827, 218, 221, 1476, 1082, 217, 1479, 25, 27, 1103}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {x^6}{a+b x^8} \, dx\) |
\(\Big \downarrow \) 830 |
\(\displaystyle \frac {\int \frac {x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt {b}}-\frac {\int \frac {x^2}{\sqrt {-a}-\sqrt {b} x^4}dx}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 826 |
\(\displaystyle \frac {\frac {\int \frac {\sqrt [4]{b} x^2+\sqrt [4]{-a}}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\int \frac {x^2}{\sqrt {-a}-\sqrt {b} x^4}dx}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 827 |
\(\displaystyle \frac {\frac {\int \frac {\sqrt [4]{b} x^2+\sqrt [4]{-a}}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\int \frac {1}{\sqrt [4]{-a}-\sqrt [4]{b} x^2}dx}{2 \sqrt [4]{b}}-\frac {\int \frac {1}{\sqrt [4]{b} x^2+\sqrt [4]{-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 218 |
\(\displaystyle \frac {\frac {\int \frac {\sqrt [4]{b} x^2+\sqrt [4]{-a}}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\int \frac {1}{\sqrt [4]{-a}-\sqrt [4]{b} x^2}dx}{2 \sqrt [4]{b}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 221 |
\(\displaystyle \frac {\frac {\int \frac {\sqrt [4]{b} x^2+\sqrt [4]{-a}}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 1476 |
\(\displaystyle \frac {\frac {\frac {\int \frac {1}{x^2-\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}}dx}{2 \sqrt [4]{b}}+\frac {\int \frac {1}{x^2+\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}}dx}{2 \sqrt [4]{b}}}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 1082 |
\(\displaystyle \frac {\frac {\frac {\int \frac {1}{-\left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )^2-1}d\left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\int \frac {1}{-\left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )^2-1}d\left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 217 |
\(\displaystyle \frac {\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}-\frac {\int \frac {\sqrt [4]{-a}-\sqrt [4]{b} x^2}{\sqrt {b} x^4+\sqrt {-a}}dx}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 1479 |
\(\displaystyle \frac {\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}-\frac {-\frac {\int -\frac {\sqrt {2} \sqrt [8]{-a}-2 \sqrt [8]{b} x}{\sqrt [8]{b} \left (x^2-\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}\right )}dx}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\int -\frac {\sqrt {2} \left (\sqrt {2} \sqrt [8]{b} x+\sqrt [8]{-a}\right )}{\sqrt [8]{b} \left (x^2+\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}\right )}dx}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}-\frac {\frac {\int \frac {\sqrt {2} \sqrt [8]{-a}-2 \sqrt [8]{b} x}{\sqrt [8]{b} \left (x^2-\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}\right )}dx}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}+\frac {\int \frac {\sqrt {2} \left (\sqrt {2} \sqrt [8]{b} x+\sqrt [8]{-a}\right )}{\sqrt [8]{b} \left (x^2+\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}\right )}dx}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}-\frac {\frac {\int \frac {\sqrt {2} \sqrt [8]{-a}-2 \sqrt [8]{b} x}{x^2-\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}}dx}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [4]{b}}+\frac {\int \frac {\sqrt {2} \sqrt [8]{b} x+\sqrt [8]{-a}}{x^2+\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{b}}+\frac {\sqrt [4]{-a}}{\sqrt [4]{b}}}dx}{2 \sqrt [8]{-a} \sqrt [4]{b}}}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
\(\Big \downarrow \) 1103 |
\(\displaystyle \frac {\frac {\frac {\arctan \left (\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}+1\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\arctan \left (1-\frac {\sqrt {2} \sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}-\frac {\frac {\log \left (\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b} x+\sqrt [4]{-a}+\sqrt [4]{b} x^2\right )}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}-\frac {\log \left (-\sqrt {2} \sqrt [8]{-a} \sqrt [8]{b} x+\sqrt [4]{-a}+\sqrt [4]{b} x^2\right )}{2 \sqrt {2} \sqrt [8]{-a} \sqrt [8]{b}}}{2 \sqrt [4]{b}}}{2 \sqrt {b}}-\frac {\frac {\text {arctanh}\left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}-\frac {\arctan \left (\frac {\sqrt [8]{b} x}{\sqrt [8]{-a}}\right )}{2 \sqrt [8]{-a} b^{3/8}}}{2 \sqrt {b}}\) |
-1/2*(-1/2*ArcTan[(b^(1/8)*x)/(-a)^(1/8)]/((-a)^(1/8)*b^(3/8)) + ArcTanh[( b^(1/8)*x)/(-a)^(1/8)]/(2*(-a)^(1/8)*b^(3/8)))/Sqrt[b] + ((-(ArcTan[1 - (S qrt[2]*b^(1/8)*x)/(-a)^(1/8)]/(Sqrt[2]*(-a)^(1/8)*b^(1/8))) + ArcTan[1 + ( Sqrt[2]*b^(1/8)*x)/(-a)^(1/8)]/(Sqrt[2]*(-a)^(1/8)*b^(1/8)))/(2*b^(1/4)) - (-1/2*Log[(-a)^(1/4) - Sqrt[2]*(-a)^(1/8)*b^(1/8)*x + b^(1/4)*x^2]/(Sqrt[ 2]*(-a)^(1/8)*b^(1/8)) + Log[(-a)^(1/4) + Sqrt[2]*(-a)^(1/8)*b^(1/8)*x + b ^(1/4)*x^2]/(2*Sqrt[2]*(-a)^(1/8)*b^(1/8)))/(2*b^(1/4)))/(2*Sqrt[b])
3.15.62.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^( -1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])], x] /; FreeQ[{a, b}, x] && PosQ[a/b] & & (LtQ[a, 0] || LtQ[b, 0])
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/R t[a/b, 2]], x] /; FreeQ[{a, b}, x] && PosQ[a/b]
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x /Rt[-a/b, 2]], x] /; FreeQ[{a, b}, x] && NegQ[a/b]
Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[a/b, 2]], s = Denominator[Rt[a/b, 2]]}, Simp[1/(2*s) Int[(r + s*x^2)/(a + b*x^ 4), x], x] - Simp[1/(2*s) Int[(r - s*x^2)/(a + b*x^4), x], x]] /; FreeQ[{ a, b}, x] && (GtQ[a/b, 0] || (PosQ[a/b] && AtomQ[SplitProduct[SumBaseQ, a]] && AtomQ[SplitProduct[SumBaseQ, b]]))
Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2]], s = Denominator[Rt[-a/b, 2]]}, Simp[s/(2*b) Int[1/(r + s*x^2), x], x] - Simp[s/(2*b) Int[1/(r - s*x^2), x], x]] /; FreeQ[{a, b}, x] && !GtQ [a/b, 0]
Int[(x_)^(m_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{r = Numerator[Rt [-a/b, 2]], s = Denominator[Rt[-a/b, 2]]}, Simp[s/(2*b) Int[x^(m - n/2)/( r + s*x^(n/2)), x], x] - Simp[s/(2*b) Int[x^(m - n/2)/(r - s*x^(n/2)), x] , x]] /; FreeQ[{a, b}, x] && IGtQ[n/4, 0] && IGtQ[m, 0] && LeQ[n/2, m] && L tQ[m, n] && !GtQ[a/b, 0]
Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*S implify[a*(c/b^2)]}, Simp[-2/b Subst[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b )], x] /; RationalQ[q] && (EqQ[q^2, 1] || !RationalQ[b^2 - 4*a*c])] /; Fre eQ[{a, b, c}, x]
Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> S imp[d*(Log[RemoveContent[a + b*x + c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]
Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[ 2*(d/e), 2]}, Simp[e/(2*c) Int[1/Simp[d/e + q*x + x^2, x], x], x] + Simp[ e/(2*c) Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]
Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[ -2*(d/e), 2]}, Simp[e/(2*c*q) Int[(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Simp[e/(2*c*q) Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /; F reeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]
Result contains higher order function than in optimal. Order 9 vs. order 3.
Time = 3.23 (sec) , antiderivative size = 27, normalized size of antiderivative = 0.10
method | result | size |
default | \(\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (b \,\textit {\_Z}^{8}+a \right )}{\sum }\frac {\ln \left (x -\textit {\_R} \right )}{\textit {\_R}}}{8 b}\) | \(27\) |
risch | \(\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (b \,\textit {\_Z}^{8}+a \right )}{\sum }\frac {\ln \left (x -\textit {\_R} \right )}{\textit {\_R}}}{8 b}\) | \(27\) |
Result contains complex when optimal does not.
Time = 0.30 (sec) , antiderivative size = 272, normalized size of antiderivative = 1.02 \[ \int \frac {x^6}{a+b x^8} \, dx=-\left (\frac {1}{16} i - \frac {1}{16}\right ) \, \sqrt {2} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (\left (\frac {1}{2} i + \frac {1}{2}\right ) \, \sqrt {2} a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) + \left (\frac {1}{16} i + \frac {1}{16}\right ) \, \sqrt {2} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (-\left (\frac {1}{2} i - \frac {1}{2}\right ) \, \sqrt {2} a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) - \left (\frac {1}{16} i + \frac {1}{16}\right ) \, \sqrt {2} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (\left (\frac {1}{2} i - \frac {1}{2}\right ) \, \sqrt {2} a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) + \left (\frac {1}{16} i - \frac {1}{16}\right ) \, \sqrt {2} \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (-\left (\frac {1}{2} i + \frac {1}{2}\right ) \, \sqrt {2} a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) + \frac {1}{8} \, \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) - \frac {1}{8} i \, \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (i \, a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) + \frac {1}{8} i \, \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (-i \, a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) - \frac {1}{8} \, \left (-\frac {1}{a b^{7}}\right )^{\frac {1}{8}} \log \left (-a b^{6} \left (-\frac {1}{a b^{7}}\right )^{\frac {7}{8}} + x\right ) \]
-(1/16*I - 1/16)*sqrt(2)*(-1/(a*b^7))^(1/8)*log((1/2*I + 1/2)*sqrt(2)*a*b^ 6*(-1/(a*b^7))^(7/8) + x) + (1/16*I + 1/16)*sqrt(2)*(-1/(a*b^7))^(1/8)*log (-(1/2*I - 1/2)*sqrt(2)*a*b^6*(-1/(a*b^7))^(7/8) + x) - (1/16*I + 1/16)*sq rt(2)*(-1/(a*b^7))^(1/8)*log((1/2*I - 1/2)*sqrt(2)*a*b^6*(-1/(a*b^7))^(7/8 ) + x) + (1/16*I - 1/16)*sqrt(2)*(-1/(a*b^7))^(1/8)*log(-(1/2*I + 1/2)*sqr t(2)*a*b^6*(-1/(a*b^7))^(7/8) + x) + 1/8*(-1/(a*b^7))^(1/8)*log(a*b^6*(-1/ (a*b^7))^(7/8) + x) - 1/8*I*(-1/(a*b^7))^(1/8)*log(I*a*b^6*(-1/(a*b^7))^(7 /8) + x) + 1/8*I*(-1/(a*b^7))^(1/8)*log(-I*a*b^6*(-1/(a*b^7))^(7/8) + x) - 1/8*(-1/(a*b^7))^(1/8)*log(-a*b^6*(-1/(a*b^7))^(7/8) + x)
Time = 0.08 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.10 \[ \int \frac {x^6}{a+b x^8} \, dx=\operatorname {RootSum} {\left (16777216 t^{8} a b^{7} + 1, \left ( t \mapsto t \log {\left (2097152 t^{7} a b^{6} + x \right )} \right )\right )} \]
\[ \int \frac {x^6}{a+b x^8} \, dx=\int { \frac {x^{6}}{b x^{8} + a} \,d x } \]
Leaf count of result is larger than twice the leaf count of optimal. 437 vs. \(2 (182) = 364\).
Time = 0.38 (sec) , antiderivative size = 437, normalized size of antiderivative = 1.64 \[ \int \frac {x^6}{a+b x^8} \, dx=\frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \arctan \left (\frac {2 \, x + \sqrt {-\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}{\sqrt {\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}\right )}{4 \, a \sqrt {-2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \arctan \left (\frac {2 \, x - \sqrt {-\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}{\sqrt {\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}\right )}{4 \, a \sqrt {-2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \arctan \left (\frac {2 \, x + \sqrt {\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}{\sqrt {-\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}\right )}{4 \, a \sqrt {2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \arctan \left (\frac {2 \, x - \sqrt {\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}{\sqrt {-\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}}}\right )}{4 \, a \sqrt {2 \, \sqrt {2} + 4}} - \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \log \left (x^{2} + x \sqrt {\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}} + \left (\frac {a}{b}\right )^{\frac {1}{4}}\right )}{8 \, a \sqrt {-2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \log \left (x^{2} - x \sqrt {\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}} + \left (\frac {a}{b}\right )^{\frac {1}{4}}\right )}{8 \, a \sqrt {-2 \, \sqrt {2} + 4}} - \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \log \left (x^{2} + x \sqrt {-\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}} + \left (\frac {a}{b}\right )^{\frac {1}{4}}\right )}{8 \, a \sqrt {2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{b}\right )^{\frac {7}{8}} \log \left (x^{2} - x \sqrt {-\sqrt {2} + 2} \left (\frac {a}{b}\right )^{\frac {1}{8}} + \left (\frac {a}{b}\right )^{\frac {1}{4}}\right )}{8 \, a \sqrt {2 \, \sqrt {2} + 4}} \]
1/4*(a/b)^(7/8)*arctan((2*x + sqrt(-sqrt(2) + 2)*(a/b)^(1/8))/(sqrt(sqrt(2 ) + 2)*(a/b)^(1/8)))/(a*sqrt(-2*sqrt(2) + 4)) + 1/4*(a/b)^(7/8)*arctan((2* x - sqrt(-sqrt(2) + 2)*(a/b)^(1/8))/(sqrt(sqrt(2) + 2)*(a/b)^(1/8)))/(a*sq rt(-2*sqrt(2) + 4)) + 1/4*(a/b)^(7/8)*arctan((2*x + sqrt(sqrt(2) + 2)*(a/b )^(1/8))/(sqrt(-sqrt(2) + 2)*(a/b)^(1/8)))/(a*sqrt(2*sqrt(2) + 4)) + 1/4*( a/b)^(7/8)*arctan((2*x - sqrt(sqrt(2) + 2)*(a/b)^(1/8))/(sqrt(-sqrt(2) + 2 )*(a/b)^(1/8)))/(a*sqrt(2*sqrt(2) + 4)) - 1/8*(a/b)^(7/8)*log(x^2 + x*sqrt (sqrt(2) + 2)*(a/b)^(1/8) + (a/b)^(1/4))/(a*sqrt(-2*sqrt(2) + 4)) + 1/8*(a /b)^(7/8)*log(x^2 - x*sqrt(sqrt(2) + 2)*(a/b)^(1/8) + (a/b)^(1/4))/(a*sqrt (-2*sqrt(2) + 4)) - 1/8*(a/b)^(7/8)*log(x^2 + x*sqrt(-sqrt(2) + 2)*(a/b)^( 1/8) + (a/b)^(1/4))/(a*sqrt(2*sqrt(2) + 4)) + 1/8*(a/b)^(7/8)*log(x^2 - x* sqrt(-sqrt(2) + 2)*(a/b)^(1/8) + (a/b)^(1/4))/(a*sqrt(2*sqrt(2) + 4))
Time = 5.90 (sec) , antiderivative size = 110, normalized size of antiderivative = 0.41 \[ \int \frac {x^6}{a+b x^8} \, dx=\frac {\mathrm {atan}\left (\frac {b^{1/8}\,x}{{\left (-a\right )}^{1/8}}\right )}{4\,{\left (-a\right )}^{1/8}\,b^{7/8}}+\frac {\mathrm {atan}\left (\frac {b^{1/8}\,x\,1{}\mathrm {i}}{{\left (-a\right )}^{1/8}}\right )\,1{}\mathrm {i}}{4\,{\left (-a\right )}^{1/8}\,b^{7/8}}+\frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,b^{1/8}\,x\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )}{{\left (-a\right )}^{1/8}}\right )\,\left (\frac {1}{8}-\frac {1}{8}{}\mathrm {i}\right )}{{\left (-a\right )}^{1/8}\,b^{7/8}}+\frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,b^{1/8}\,x\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )}{{\left (-a\right )}^{1/8}}\right )\,\left (\frac {1}{8}+\frac {1}{8}{}\mathrm {i}\right )}{{\left (-a\right )}^{1/8}\,b^{7/8}} \]
atan((b^(1/8)*x)/(-a)^(1/8))/(4*(-a)^(1/8)*b^(7/8)) + (atan((b^(1/8)*x*1i) /(-a)^(1/8))*1i)/(4*(-a)^(1/8)*b^(7/8)) + (2^(1/2)*atan((2^(1/2)*b^(1/8)*x *(1/2 - 1i/2))/(-a)^(1/8))*(1/8 - 1i/8))/((-a)^(1/8)*b^(7/8)) + (2^(1/2)*a tan((2^(1/2)*b^(1/8)*x*(1/2 + 1i/2))/(-a)^(1/8))*(1/8 + 1i/8))/((-a)^(1/8) *b^(7/8))